Reinforcement Learning: Mastering decisions through trial