Create sonnet.py

My working copy of sonnet.py - keeping separate to be able to compare parameters, variables, settings, etc. across multiple machines/devices.