addition of graphs