EM algorithm to do Machine Translation and code breaking