Update median(), med(), grade() and readHomeworkGrades()