Got Rook's getLegalMoves to work