Demystifying Reinforcement Learning: A Beginner's Guide to the Math