Added exercise 6.