Updated run_analysis.R

Fixed some errors in code