public void MakeAllPackets()
    {
        while (packetsCreated < totalNumberOfPackets)
        {
            
            //add created packet to packet created queue
            packetCreated.add(CreatePacket());
        }
    }