Implemented parseGrades. Passing unit tests.