Create version C of problem 31
Include a recursive function.