Implemented NeuralNetBuilder.java class.