Update run_analysis.R

Pseudocode.