https://medium.com/@monocosmo77/studying-stochastic-processes-in-depth-part5-artificial-intelligence-be70fccea70b