rpn.hs: simplify

No functional change.
rpn.hs: use arbitrary-precision Integer type

This is equivalent to using Ruby's BigNum.