print the array