Add solution to Problem 26.