Build a Symmetric Difference Function