added function to get all grades for student