Solution to the koans 13 (recursion)