Simplified Set.set and added Arbitrary instances