changed Chain to MarkovChain, and changed ChainTest to MarkovChainTest