Adding function in library (TreeClass/TreeUtils), Polysolver and upgma algo, need clean up
merged with set_gene