should've committed this sooner.  Have part of searchTree working, but I'm trying to simplify it by adding a higher-level function.  the old version is commented out here.  new version is not quite functional yet.
searchTree func is half working.  have to add in exclusions part still
it's looking like searchTree is working.