first propositon of a DFS search to obtain all paths between two nodes