merge_graphs and write_subgraphs redefined as static methods, since they
do not depend on the content of the class
added the get_subgraph function to get the subgraph corresponding to a
set of nodes that comes from two other graphs
changed the function to merge the graphs: now a complete graph with all
the existing connection of the original graph is returned