Command line calculator using Java.