finished code for ch1 , understand intuitively SGD and plotted epoch improvements by slightly modifying SGD function in network.py, shoud replace this later