Network: OSPF algorithm implementation in routers