Creates arrays using different initialization methods