Finalized the rpn calculator