added initial checks and grader for autograding