Finished Dijkstra's algorithm. Examples of input included.