Help optimize this dijkstra algorithm: - Java Community | Help. Code. Learn.