Programming Assigment 2

This is the answer for hte programming assigment 2 for the Cousera R
programming class