eliminated Branch constructor, added flattenTree
Merge pull request #21 from bobgru/remove-branch-ctor

eliminated Branch constructor, added flattenTree