/**
 * This function takes a set and a list of elements as input, and adds the elements to the set.
 * If an element is equal to null, it will be skipped.
 *
 * @param mySet The set to which the elements need to be added.
 * @param elements The list of elements to be added to the set.
 * @return The updated set after adding the elements.
 */
fun addElementsToSet(mySet: MutableSet<Any>, elements: List<Any?>): MutableSet<Any> {

    for (element in elements) {
        if (element != null) {
            mySet.add(element)
        }
    }
    return mySet
}
/**
 * This function takes a set and a list of elements as input, and adds the elements to the set.
 * If an element is equal to null, it will be skipped.
 *
 * @param mySet The set to which the elements need to be added.
 * @param elements The list of elements to be added to the set.
 * @return The updated set after adding the elements.
 */
fun addElementsToSet(mySet: MutableSet<Any>, elements: List<Any?>): MutableSet<Any> {
/**
 * This function takes a set and a list of elements as input, and adds the elements to the set.
 * If an element is equal to null, it will be skipped.
 *
 * @param mySet The set to which the elements need to be added.
 * @param elements The list of elements to be added to the set.
 * @return The updated set after adding the elements.
 */
fun addElementsToSet(mySet: MutableSet<Any>, elements: List<Any?>): MutableSet<Any> {

    for (element in elements) {
        if (element != null) {
            mySet.add(element)
        }
    }
    return mySet
}