This generates the next sub-tree in the enumeration list.
Usage
get_next_subtree(obj, char_arr)
Value
A vector of 1's and 0's, which denotes the next sub-tree in the list.
Arguments
obj
An object of class TreeHarp.
char_arr
A vector of 1's and 0's indicating which nodes to keep. The
vector should have length equal to the number of nodes in obj.
Details
Need to reference the paper. This generates the next sub-tree,
rooted at the root node of this tree. It will generate singletons on it's
own. It has to be used within a loop to do that.