Created basic function to average an array of values passed into it. This will be called to average the GPA of student files.