Implemented set union, intersection, and difference
Added tests for sets
merged function code with set code