Added exercise 31.