Proposed solution

Programing Assignment 2
for R Programming