Linearly Ordered Set Example In Python