def dequeueCharacter(self):
    char = self.queue[0]
    self.queue = self.queue[1:]
    return char
def dequeueCharacter(self):
    char = self.queue[0]
    self.queue = self.queue[1:]
    return char