Implementation of run_analysis.R