Create parser.py

Initial version of Python text parser