https://medium.com/@monocosmo77/studying-stochastic-processes-in-depth-part1-artificial-intelligence-48e2c45c391c