Fixed issue where the seq number when sending an ack was out of order.
Changed from using Queues to lists.
Duplicate packets received don't get added to the receive queue. An ack is correctly sent instead. Started to add in the part where it correctly orders received packets if they arrive out of order.