How To Find Intersection In Python