Working Djikstra