Implementation of the EM algorithm to find alignments under IBM models 1 and 2.