Generate hamming code
Find error in hamming code
Check hamming code