added simple RPN code