Homework part 3: grader