Added some basic hypergraph utility methods.
pep8 compliance