creating data structures for the routing table