Update socode.py
Merge pull request #4 from shuhaowu/patch-1

Update socode.py