Added subtree extractor

a function that extracts all subtrees of a given parse tree