Edited lectures 31-46 of Week 1.