Added a load of comments to run_analysis.R and fixed a bug. More content in the markdown files