Creates a new set containing all elements of the two sets passed as parameters that are contained in either of the sets but not in both of them.
Creates a new set containing all elements of the two sets passed as parameters that are contained in either of the sets but not in both of them.This function creates an empty clone of the first of the two parameter sets and then iterates the first of the two sets and adds all elements to the clone that are not contained in the second set. Then it iterates the second of the two sets and adds all elements to the clone that are not contained in the first set.