implementing logistic regression with sgd from scratch