Add weight display.
add toGene() and setGene() methods to NeuralNetwork