Small software simulating a router using a link-state packet protocol to compute its routing table