Fixes for generation parsetab.py. Samples added.