Fix bugs to make Lab3Grader work