Programming exercises for the machine learning class on coursera