created addScore method for gradebook