Add elem

Useful for cases where you cannot use a set because there is no Ord for
your data type.