End to End Routing Algorithms in Arbitrary Networks