Solved pow(x, n)

Amazingly beautiful.