Everything works ok ok (can change 9 into almost-seven etc). Making it better now.
Cleaned up the code.
Finalized alpha 0.1 version of manipulating MNIST. Will add binarization now.