Added solution to intersecting rectangles (problem 2.12)