Create sum of array = x