Add two functions to calculate the power of number