Update Calculator.java

Fixed failed build