int success;
Layer outputLayer = new BasicLayer(new ActivationSigmoid(), true, 6);
Layer hiddenLayer1 = new BasicLayer(new ActivationSigmoid(), true, 6);
Layer inputLayer = new BasicLayer(new ActivationSigmoid(), false, 4);
Synapse synapse1 = new WeightedSynapse(hiddenLayer1, outputLayer);
Synapse synapse2 = new WeightedSynapse(inputLayer, hiddenLayer1);
hiddenLayer1.addSynapse(synapse1);
inputLayer.addSynapse(synapse2);
network.tagLayer("INPUT", inputLayer);