homework for the course machine learning on coursera