modifications to grader and checks for HW4