Written the intersection algorithm. Will see if it works tomorrow

<1% chance of it working...