added clustering.py