Completed Exercise 2.2-4