homework excises source code for machine learning class on coursera