updated getNextPlayerInOrder and setNextPlayer.