ex2:Step2

1.sigmoid
2.costFunction