Hamming Encoding - TC project