assignment 5 Stochastic Gradient Descent