Code samples for Week 3.