add concat, intersection and union array algorithms