Add initial routing table generation algorithm.