Basic data structures in Swift