add examples of functions defined with recursion