Recursive Function For Exponential