some progress toward array indexing and assignment