Added nextMove for Player.java