adds two arrays