exercise 4 completed

Here is the completed version of example 4