Update socode.py
Merge pull request #161 from rightfold/patch-1

Update socode.py