fixed logical operator typo
added .gitignore
tweaked loop explanation
linear regression typo fixed
fixed typos and grammar