changed docstrings and names for hamming.py to be more consistant with the networkx conventions.