Simplifying Array Initialization in Swift with Array(repeating:)