Assignment2 (R Programming, Coursera)