Assignment2 For Coursera on R