Implemented intersection, difference, and set difference.