Homework for week 3