HW6 Part2 done.