Passing Arrays into a function

Looks like it prints out exactly what it is supposed to. What do you want it to do differently?