public String toString() {
        if(isEmpty()) return null;
        Node current = head;
        String output = "";
        while (current != null) {
            output += current.getContent();
            if (current.getNext() != null)
                output += ", ";
            current = current.getNext();
        }
        return output;
    }