miniproject2 of UnsupervisedLearning