the index of array element equal its own value