parser py

added some comments to parser.py