working on hammingcodec
HammingCode+FixedEndFlag seems to be working