R - Programming assignment 2

R - Programming assignment 2 - By Shashank Shekhar