Does some basic arithmetic in prefix notation