the 7th assignment of machine learning class in coursera: K-Means Clustering and PCA