See also:
In reply to Re: recursive algorithm by toolic in thread recursive algorithm by Anonymous Monk