assignment2 complete

coursera r programming assignment 2