Documented parse.py and fixed some things in lex.py