Initial, untested implementation of the arithmetic class.