Homework for week 2