PML  write up for Course assignement (Coursera Practical Machine Learning)