unit tests added for number to digit conversion
this implementation of a chunked sequence should be more efficient