Calculates Problems' Average Grades