Solution to the Coursera's Regression Models Peer Assignment