Lecture Code
This code is provided to accompany the lecture. It is not intended to be self-explanatory.