Adding comments, making sys.exit() work

- Added some comments to explain what I’m doing in name/main block
- forgot to import sys, and changed exit() to exit(0), which exits
script w/o error