added class for logistic regression using gradient descent