Added exercise 3.