Update testhmwrk.R

I have added cor.test and t.test as required, also I creat a Lm with more variables , it looks better. Let's discuss tomorrow.