coursera.org/rprog-005/prog_assig_2

Code for coursera rprog-005 assignment 2