initial commit of kmodes.py