add iteration and recursion example