added code for function recursion
added code for function recursion