In order to compile and run the code: At line 20 of the code switch "sample_packets.txt" for the name of your file. Remember it needs yo be in the directory you are in.