dijkstra algorithm

The test is not done yet