Solution to project problem 4a

More elegant way to add registers. Also includes subtraction.