Update run_analysis.R

grouping by activity and variable