Distance Vector routing protocol implemented using C by reading topology files