constructor(array, current) {
        assert(current instanceof Node);
        this.array = array;
        this.current = current;
    }