Documented calculator.cpp