Graphic implementaction of Dijkstra Algorithm