From Red Pen to AI: How a Stanford Professor Revolutionized Test Grading with Artificial Intelligence