modified PA_1.Rmd, all coding's done, needs write-up