add dijkstra three solutions