Complete exercise 4 for Lab 13