Implementation of run_analysis.R
Added documentation