implement linear regression using python program