Solution for Linear Regression Exercise

Solution for Linear Regression Exercise (Programming Exercise #1)