Modified Week 3 lecture material and exercise