Command-line Calculator