Homework for week 7