Recursion

recursion code examples in swift language.