Write a C/C++ program to decode the code words at the receiver using CRC and Hamming code.