Added initial code for 'getGrades()'