Add graph analysis code.

Images of drawn graph from Gephi.
Also beginning of code to analyse graph.