Hamming Code Program In Python