Exercises for Stanford machine learning class