moved code from activity.Rmd to PA1_template.Rmd