Insert string @s at the current cursor location.

def insert(self, s):
        '''
        Insert string @s at the current cursor location.
        '''
        for c in s:
            self.text.insert(self.cursor_loc, c)
            self.cursor_loc += 1