add simple python implementations for binary and multiple logistic regression