Solve the game Mastermind using ML mathematical techniques. These include: IT, Simulated Annealing and Markov chains.