Control theory in the classroom