Improve some of the error messages and 'repr' outputs.
Add the basic Register class.

The Register is basically a fixed-width Trits.  It will form the basis
for balanced ternary memory registers for a processor simulation.