Homework for week 6