CME Group interview question

Implement multiplication and power functions