Updated my programming assigment2 submission for R course offered by Coursera