BNF grammars now print correctly

toString() methods working.