print function for TFATable and TransitionTable