hamming code tgpp