Update Path that returns true if there is a path between two nodes. DFS