code: public void remove(int sequence) {
          int index = toIndex(sequence);
          ringItems[index] = null;
          isTask[index] = false;
          head--;
          callableCounter--;
      }
docs: Removes the task with the given sequence
  
  @param sequence the sequence