Intersection Method Python