Update socode.py
Merge pull request #213 from pretzilz/master

My function