Update calculator.cpp