add a LinearSet type (implementing the Set trait)