Write a function intersect() that takes two integer arrays m and n and returns an array of the integers that are in both m and n.
Write a function intersect() that takes two integer arrays m and n and returns an array of the integers that are in both m and n.