[I2] Exponentiation (3 pts) [00KG]

Write a recursive algorithm which, given a real number b and a natural number e, computes the power b^e. Prove that your algorithm is correct.

You may express your algorithm using appropriate pseudocode, or you may implement it in a real programming language; either one is fine. You may use addition, subtraction, multiplication, and division, but you may not use any kind of built-in exponentiation operation.