Grading script for graph HW