Linear Regression Algorithm In Python