https://medium.com/@monocosmo77/understanding-the-infinite-horizon-method-part4-artificial-intelligence-reinforcement-learning-732a8b50c69f