Something wrong with my nested loops? Please help.

Printable View