Exercise 1 for mad9013