Reinforcement Learning Implementation (MDP)