Adds exponentiation function.

Adds exponentiation function which takes two integers and returns the
power of these numbers.