Complete exercise 8 of lab 13