Check if any pair of rectangles overlap

easy