Final Updates.

Code Reviewer: please see the file all_code_hw2.R in HW2\