Added an extension to IEnumerable<T> for generating HashSets