R Programming assignment 2
Added comments
Corrected a comment
Corrected a comment