initial tests of nested for loops