refactored run_analysis.R, added CodeBook.md