Add examples for intersect1d and union1d of more than two arrays.

The approach was suggested by Jaime Frio in issue #5179.
Merge pull request #5189 from cbrueffer/setops

Add examples for intersect1d and union1d of more than two arrays.