Completed programming assignment for Week 8 K-Means Clustering and PCA