Implementing exercises from Reinforcement Learning: An Introduction