Basic console calculator, based on reverse polish notation