integrate to Dijkstra.java and delete