Exercise 7 Completed

This is the competed version of exercise 7