Add exercise 3.1