Would it make it any easier if the array was 2-dimensional (like a table)?