Moving from scala.collection.mutable.Set to
scala.collection.immutable.Set through use of fold