Create progassign2.r

coursera programming assignment 2