Second Attempt for Assignment 2

Added more comments for each line of the code to explain the steps.