Playing around with data types in Swift