Implement #each method and include Enumerable.

This allows converting the set to an array or native set.