My current solution to the rectangle intersection problem