an algorithm to look for convergent signals in phylogenetic trees