Cleaned up the code in Sender.py. Modified handle_ack to take in packet generator.