Recursive functions - WIP
Recursive functions - corrected.