generateEnds now seems to work properly, huzzah

Could use a tidy-up but produces correct output
Added `moveSquares` support for Pawn

Woo tests pass!