<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def addDataToQueue(self, displacement, reset=False):
 """ Add the given displacement to the region's internal queue. Calls to compute will cause items in the queue to be dequeued in FIFO order. :param displacement: Two floats representing translation vector [dx, dy] to be passed to the linked regions via 'dataOut' :type displacement: list :param reset: Reset flag to be passed to the linked regions via 'resetOut' :type reset: bool """

    self.queue.appendleft({
      "dataOut": list(displacement),
      "reset": bool(reset)
    })