Array created and printed