Merge functionality with convert-hex library.

Changes this library into a multi-purpose number <=> string conversion tool