Update loop.py

Added additional comments to help the user better understand the complexities of Eric's code
Merge pull request #1 from moberemk/patch-1

Update loop.py