Models and Algorithms for Genome Evolution