Add solution to problem 29
Rename