remove() {
    if (!this.output.length) {
      while (this.input.length) {
        this.output.push(this.input.pop());
      }
    }
    return this.output.pop();
  }
Remove element from the queue
Runtime: O(n)
Amortized runtime: O(1)*