added graphs and trees
added graphs and trees