Update ProgrammingExercise1.py

Added few comments in the code itself; LG overall