add logistic reg class, just implemented some methods