Learning and Control: From Foundations to Deep Reinforcement Learning