Added and completed exercise 4