Updated main to pass packets to crc.encode and crc.decode. CRC looks complete as no errors were detected in the 1000 line file