nextPlayer function for the next player.