Part2 of programming assignment3 in R