https://medium.com/@monocosmo77/understanding-the-infinite-horizon-method-part3-artificial-intelligence-reinforcement-learning-854f0f463f3c