Implementing a dynamic array for student grades that will grow every two exams.