Assignment 2

Completed function for the Programming Assignment 2
Programming Assignment 2

Programming Assignment 2 for peer review