Added logistic regression first implementation