Functional (could be cleaned up) MCTS player.