made a getPossibleMoves method for a specific player