adding intersection() and intersects() methods to Arrays