Amazon interview question

implement the math.pow function