Modified documentation and fixed pep8 issues; also modified iterators in undirected hypergraph class.