Applications of reinforcement learning