My Programming Assignment in Coursera R Course