Clustering by genetic algorithm