Partially implemented the UCT algorithm