monte carlo tree simulation for tic tac toe