Added class for B-HyperTree and visit function

Implemented a class which checks that a given hypergraph is a hypertree
on construction.
Implemented the function from the "Flows on hypergraphs" paper VISIT for
hypertrees.