結果 : how to make a markov transition matrix