Finished question 1 of Exercise 7.