2015-6: Hey! This is My Space
Write a function that takes, as each of its right and left arguments, a pair of co-ordinates representing diagonally opposite corners of two rectangles and returns a 1
if the rectangles overlap. The co-ordinates could be either (upper-left, lower-right) or (upper-right, lower left).

Examples:
(1 1)(5 5) (your_function) (3 3)(7 7)
1
(1 1)(5 5) (your_function) (5 5)(1 1)
1
(1 1)(3 3) (your_function) (4 4)(7 7)
0
(1.1 1.1)(5.5 5.5) (your_function) (3.3 3.3)(4.4 4.4)
1
your_function ←
Solutions

