small changes and started clustering.py