pep8ify and refactor parsetable.py
repair the printing of the parsetable in humand readable form