Updated program to guarantee that the number of digits selected for each
character class is in the result, neither more nor less.  Updated names
of methods to support this.  Added midje testing framework and implemented
a number of tests.