Added grade function to output classifications to assignment spec.