My annotated code for Week 3