recursion homework added