getNextPlayerInOrder updated to check if player has already finished.