Added bencooling function

Added bencooling function
Update socode.py
Update socode.py
Merge pull request #22 from bencooling/master

Added bencooling function
Attempt two
Merge pull request #23 from zgohr/att-2

Attempt two
Merge branch 'master' of https://github.com/sricola/socode
oops, allow parms