Machine Learning assignment: Implementation of kmeans and of EM for Gaussian Mixture models