'Inserts a value to the set. Returns true if the set did not already contain the specified element.
:type val: int
:rtype: bool'

def insert(self, val):

    if (val in self.__used):
        return False
    self.__set += (val,)
    self.__used[val] = (len(self.__set) - 1)
    return True
