Using Genetic Algorithm to solve Median Problem and Phylogenetic Inference