started impl of LSystem code