added an array example

added an array example