Wrote codebook.md and cleaned up run_analysis.R