4-function reverse polish notation command line calculator