implement simple and multiple linear regression models