Making decisions

Implementing reinforcement learning