Takes a 16 digit hexadecimal number and outputs its hamming code