Implement `power(x, n)` returning `x` raised to the non-negative integer `n`, using fast exponentiation.
Run your code to see results.