I would appreciate any help with the following exercise, I have no idea how to really start this it'd not like any of the previous exercises I've done so any help would be great :)
Define a class Set that keeps track of a collection of distinct objects. Inernally, you should use a list as an instance variable, but you should make sure not to allow duplicates into your set. Something like the following design:
_contents
Set() add(value)
__contains__(value) discard(value)