Generates TransitionTable