A Java basic calculator