Condense DFA print function, adding .to_s to account for symbols.
Finish a5p6.