Simplified cost function and gradient descent
-simpler cost function
-apply gradient descent to logistic regression
-fully ready logistic regression
this is more simpler and compact way for calculating cost function
-apply gradient descent to logistic regression
-fully ready logistic regression