Finalized grader for Homework 5