Add solution to Problem 15