Week 1 homework for codepath course