Homework for lecture 7