use the each method on array to iterate over array and print out each value