new version of dijkstra
use deque
disk small fixes