implement AI with MonteCarlo