結果 : write a python class to implement pow xn