Modified rollout and expanding to match the algorithm at mcts.ai.