Implementing algorithms concerning network emulations such as Dijkstra's shortest path