R markdown and html write up for Practical Machine Learning course assignment