Added hamming-code gen/check lib