added newick->graph parser