Added exercise 4.