SMS: Construction of Phylogenetic Trees