Exercise 2

Part 1 and 2