Add solution problem 29