Created and completed exercise 6