remove_subsets function

removes subsets or supersets of item combinations