Refactor LoadGrammar and SaveGrammar to GrammarFromString and GrammarToString.
Wirth use {} for repetition instead of *
Some other small changes