Added tail recursion example