Final code for network without failure
Final code for network with single node failing during request routing