Finds out if there is a path between two given GraphNodes in a directed graph.