Find all the paths which nodes' sum equals given sum.