add code to output domain load and count of switch to load.txt and inter-domain traffic to  traffic.txt