Implemented the methods to manipulate sets (insert, remove, contains).