Added Dijkstra implementation, added Change Mode, added output to specifications. Updated comments.