Create run_analysis.R

R script to obtain required output.