A Lecture on Model Predictive Control