Added Intersection

Intersection is ugly, can be cleaned up a lot. Undoubtedly has bugs, but I can't test it until set_corners works.