A simple C++ reverse polish notation calculator