new constructor,
fixed nextBase2 to be inclusive of input,
added new tests and a testing function to make output more descriptive