Generic Iterator Functions

Let’s write a function that will print out each value in a slice: