HowTo add and remove element into a set?