public void populate(int input, int hidden, int output)
	{
		//add neurons
		for(int i=0;i<input; i++)
		 {
		 
		 addInputNode();
		 
		 }
		 
		 for(int i=0;i<hidden; i++)
		 {
		 
		 Neuron newron = addHiddenNode();
		 
			 //add connections from previous layer
			 for(Neuron n : inputNeurons)
			 {
			 n.addConnection(newron);
		 	 }
		 
		 }
		 
		 for(int i=0;i<output; i++)
		 {
		 
			 Neuron newron = addOutputNode();
		 	
			 //add connections from previous layer
			 for(Neuron n : hiddenNeurons)
			 {
				 n.addConnection(newron);
			 }
		 }
	}