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