ex2: sigmoid
ex2: compute cost and gradient