To_hex helper function, and print out the character set.