New instance Get feedback

Construct a function which calculates the power of a number. The function takes two integers as parameters (the base number and a non-negative exponent) and calculates the power.