put array utils together and into a separate folder