LSystem rewrite program