Add support for memory registers, indirection, and flags

Code added for memory registers, the i-register, and the flow-control
flags in the calculator.  Memory registers can also be given arbitrary
string names.