Linear Regression Python Code Without Library