upgma implemented and tested