Reinforcement learning in a nutshell