An implementation of sets in Swift.