Mathematics homework and grading