[swift] How to create range in Swift?