Implement stochastic gradient descent, display cost estimate during iteration.
Add code to interact with MINST handwritten digits database.