initial commit for sgd python scripts