Implemented network expansion and Floyd Warshall along with collapsing the network back down