private Node<T> setToNext(Node<T> node, T item) {
        if (node.next != null) {
            setToNext(node.next, item);
        }
        Node<T> nextNode = new Node<T>(null, item);
        node.next = nextNode;
        return nextNode;
    }