Reinforcement Learning Reward Function Example