Code for Coursera's Regression Models class assignment