Added nub_by

nub_by aism to retain elements from a list, such that no two elements cause the given predicate to become true, i.e., according to the predicate, they are all different.