add "path between nodes in tree" problem