Problem Set 5 Exercise 1 Completed

Submitted code for homework assignment.