printing array