set.rb - defines the Set class