more implementation of rpn calc. modified stack to work like hp calculator