Added exercise 9.