Implemented training of a neural network
- Made properties public for easier training
- Still operates on one core: should be more when available
- Added example training for digits 0 to 9
- Increased iteration count because almost never the desired threshold was reached