why index of an array is zero