How to LOOP over arrays in Swift?