Data Structure in Swift