The code for the lecture material in my google documents.