Finish exercise 2 part 1, logistic regression without regularization