created functions to get class avarage based on students homework, quizz and test scores