added arrays.pl

added a file demonstrating use of arrays.