R-programming coursera Assign - 1