add function declaration example

recursion example