I gotcha....your great help!!! thank you two -
About those nested loops: think how you would visit all squares on a chessboard
or similar. Think of rectangular (non-square) boards; how would you visit all the
cells? Think of a loop per row and an inner loop per column. Try it the other way
around and see in what order the cells are visited. Try to do it with a single loop.
Print out all the index values and see what happens.
kind regards,
Jos