Finish HW1 Part2 and Part3