Refactoring and converting tabs to spaces.
Refactoring in commentator.py
Fixed regex problems in program.py