add logistic_sgd.py