Iterative Recursion for exponentiation