Two rectangle intersection python. .