Update Check if rectangles intersect.cpp