code shortcut, fix bugs in the addition and subtraction, another one in the multiplication code, and add new unit tests for most of these.