added checks and grader for part3 of hw3