A Tutorial for Reinforcement Learning