A simple command-line calculator