swift convert Range<Int> to [Int] swift convert Range<Int> to [Int] arrays arrays