Initial import of array_indices.py.