Command line calculator