added some more features, corrected issue in path-enclosed tree, changed words_in_between to return a BOW tree