restructuring project
implemented dijkstra's shortest path algorithm