created logistic regression implementation