Up: Exponentiation.

Exponentiation hint

Notice that when n>1, we have

xn = x * xn - 1
This suggests recursing through the different values of n.