A calculator application run via the command line (Java)