Part 1 of HW6