Updating main to include functionality for encoding/decoding with hamming and crc and keeping track of the results