Citadel interview question

Implement a calculator