Complete HW3-Part1