Removed square grid constraint
printGrid is now a method
more on removing square constraint
another test