結果 : hamming code algorithm in python