Create MarkovChainInJava