cleanup
legalMoves method testing