https://medium.com/@monocosmo77/applications-of-markov-chain-monte-carlo-part2-artificial-intelligence-934eb2ccd733