Cleaning up code.
Add custom hypergraph class based on networkx