extension Array { func split(into size: Int) -> [[Element]] { guard size > 0 else { return [] } return stride(from: 0, to: count, by: size).map { Array(self[$0..