Finish ProgAssignment2