Added Week 5 in-class code.