Add solution to problem 26