greatly improved arbitrary integer functionality

Implemented arbitrary integer addition and subtraction. General bug fixes in
the integer arithmetic.