Update socode.py

From Brazil with love!