dfs

Search the tree for a node that matches the condition.