Assignment 2 changes

Supplied the code and comments for the assignments