Hamming Code Implementation In Python Example