Defined function 'calc' to do quick calculations on the command line.