updated addtoqueue for circuit, int array for paths, about to loop through all packets