Dijkstra's algorithm is pretty cool. Just gotta clean up code now.
Cleaned up code.
Cleaned up code.