state generation in my impl, reverse path for printing in yours

-added reverse to your implementation for the printing to get the path
in order
-used some of your ideas in mine mainly transpose to replace silly
extra verticalMoves code
-i'm pretty confident that my state generation is correct (and solves
your bugs), i think we should get together today and combine our work