The AI now properly choses the optimal path for the active player
This probably is not a good thing to run on a very large tree.
This is a basic working implementation of the MCTS algorithm. Though currently the algorithm is slow compared with other implemenations, and makes sub-optimal choices when playing tic-tac-toe. Therefore some modifications are needed