Updated arrays.md

Changed index values in examples.