Week 2 lecture notes