Power of x, n

Implement pow(x, n).