Code was simplefied and many lines were eliminated: loop for extracting values from dictionary and converted to sets was eliminated. A function to generate the network from a given dictionary and with a jaccard index threshold was created. Graph visualization code was poped-out from the function that generates the network. A toy dictionary was included in order to test the code.