class MultiSkipList {

    public boolean add(E element, int position) {
        if (size < position) {
            return add(element);
        } else {
            SkipListNode<E> newNode = new SkipListNode<>(element);
            SkipListNode curNode = bottomHead.right;
            while (curNode.right != null && position > 0) {
                curNode = curNode.right;
                position--;
            }
            if (curNode.left != null) {
                SkipListNode leftNode = curNode.left;
                horizontalLink(leftNode, newNode);
                horizontalLink(newNode, curNode);
                size++;
            } else {
                return false;
            }
        }
        return true;
    }

    public  MultiSkipList(Comparator<E> comparator);

}