Stochastic Methods in Bioinformatics 2.3 Generating Functions 10.2 Comparison of Two Aigned Sequences