Merge pull request #1 from riktor/master

refactoring train-test code
add neural network implements.
Merge branch 'master' of https://github.com/iwamoto22/NeuralNetworkLaboratory