Created/implemented Grade typeclass