a simple stack based calculator with a few shortcut hacks