submission for coursera practical machine learning assignment