Trying to implement a decryption algorithm using Markov Chains.