changed set of intersections to dict

Note: won't run as is!  Need to fix up the code first  :)