A First Course in Predictive Control