A novle hierarchical clustering algorithm for gene sequences