Added sg.py
Merge pull request #24 from venthur/patch-1

Added sg.py