How to print the values of a recursive function



Jianrong:
In the future, try finding the smallest program that exhibits your 
problem, and try to explain exactly why that
does not do what you expect it to do.  At that point you will probably 
figure it out yourself
and you won't have to post your bug.  You will also have learned something.

RJF