Machine Learning exercises for Coursera class