Added ring class to pass tests, tests passed.