Distributed Systems coursework, Routing algorithm simulation