Update calculator.java