Updated comments and formatting for HW7.