enqueue(priority, value) {
    this.insert(priority, value);
  }
Puts the specified value in the queue.
@param {number} priority The priority of the value. A smaller value here
    means a higher priority.
@param {VALUE} value The value.