Implemented byte2number mapping and rudimentary code to test it