Dijkstra's algorithm in go. For academic purposes.