I am having problem finding longest path between two nodes on the graph. I tried with modified Dijkstra's algorithm but without result. Any idea?