Replace power() with built-in pow()

The power function declaration is superfluous. Python's built in pow() takes care of powers, and is functionally equivalent to power(). They both return integers when integers are provided as well.