completed grader as per asignment