<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def rotate(self):
 """ Rotate the kill ring, then yank back the new top. Returns ------- A text string or None. """

        self._index -= 1
        if self._index >= 0:
            return self._ring[self._index]
        return None