Code for week 5.
Slides and Code for Week 5.