Add solution to exercise 10 day7