simulation of link state routing protocol