TRAVERSAL OF ANY ARRAY