https://medium.com/@monocosmo77/working-with-greedy-algorithms-part3-reinforcement-learning-76d930a6c541