I am creating a transition table from multiple sequences of discrete states:
sequence1 = [0, 1, 2, 1, 3, 4, 5, 2, 3, 5, 2, 1, 4] sequence2 = [1, 0, 1, 1, 2, 1