fix bug:expand yield nan result.
fix bug in MCTS.
add the UCB method to select next move.