used knitr to add and explain run_analysis.R
cleand up code and added comments