code: def pop(self):
          
          e = self.data[self.start]
          self.start += 1
          if self.start > 5 and self.start > len(self.data)//2:
              self.data = self.data[self.start:]
              self.start = 0
          return e
docs: Retrieve the next element in line, this will remove it from the queue