adding melody.py and kmeans