Preprocessing and Visualization

2 kinds of preprocessing plus visualizations in networkx and matplotlib