Completed exercise 2.1