Added exercise 3.1