Reinforcement learning an introduction - Sutton, Richard S.; Barto, Andrew G. (The MIT Press, 1998)