Added algorithm 1 which checks data rate. Added the ability to choose algorithms. Added an exit flag to break the infinite pcap loop