Dijkstra and A* implementation to compute shortest paths (uni bonn assigment)