added _compat.py for Python 2 & 3 compatability code
completed addition of python3 compatability code
improving pylint score
added module header docstring with copyright notice/license/description
added docstrings for clustering module
various pylint improvements