An introduction to Reinforcement Learning