Add a problem 10 solution