def create_default_groups(self):
        for group in self.groups:
            group = group.replace(" ", "_").lower()
            self[group] = NamedRequirements(group)
def insert(root, key):
    left, right = split(root, key)
    return merge(merge(left, Treap(key)), right)