Added exercise 7.