breakdown the Dijkstra algorithm to small steps and add basic code - part 1