uses the bellman ford algorithm to find the shortest path in a network of routers