Update sg.py

Added 140 char safety. WARNING: if no 140 char solutions found, will RUN
FOREVER! NOO!