getPossibleMoves implemented