Implemented check for directed random walk to ensure that each node has at least 1 outgoing hyperedge; fixed non-ASCII characters-in-comments issue; fixed pep8 compliance.