Heuristics & Phylogenies: Generic Implementation + Encoding for Genetic Sequences Comparison