Add exercise 7 of chapter 15