implement linear-regression by gradient descend