To insert elements in to the array