prints each element of an array