Complete exercise 7 from Lab 13