Update grading_prog.cpp