Fill array with cells