https://medium.com/@monocosmo77/understanding-the-infinite-horizon-method-part1-artificial-intelligence-reinforcement-learning-3f0613be9156