add assignment ex2, finish part 1 logistic regression