added comments to main.py
added comments to curwrap.py
added comments to snake.py