How to iterate a loop with index and element in Swift How to iterate a loop with index and element in Swift arrays arrays