ProgrammingAssignmentCompleted

I have completed the programming assignment and I have added some
comments to describe the functions.