R Programming

Solution for programming assignment 2
Removed generic comments