Adding a negative array loop example to the docs