Now compatible with provided file (after some fixes)
Modified example file to have proper spacing, integers, and checksums
Using a run counter to make the dupe bit less redundant
Made a function to skip datagrams
Moved checksum code into a function
Cleaned up and changed a lot of code