Pergunta de entrevista da empresa Canonical

Implement a calculator that evaluates arithmetic expressions written in a custom prefix notation (e.g., "+ 3 4" instead of "3 + 4"), ensuring it handles nested operations without parentheses. Some unit tests were provided to verify correctness.