Added more comments to the file following the grading rules of the assignment.