Added Exercise 6 and completed exercise.