Command-line rpn calculator