Solution to Programming Assignment 2

Solved - Programming Assignment 2 for rprog-009