Updated parser.py

Changed name to roger to avoid confusion.

Made several changes after debugging.