Refactored the algorithm classes to take a pair of arrays of digits, this was a step toward allowing the ExceptionTransformations to be implemented, but it also happens to make things neater.