結果 : implement power function