basic command line calculator