Working predictor and encoder

The predictor and encoder are both now working and reversible. The
encoder does not produce header information nor write to a file, as
these are considered secondary for the time being. It does mean that the
compression ratio can be measured, and a number of the parameters are
tuneable.