結果 : hamming code implementation in python