Update MarkovChain.java