Add solution to Problem 11