private void createNetwork(int inputs,int outputs){
        if(currentSpecies==null){
            if(net==null){
                System.out.println("Neural Network created in net");
                net=new SpeciationNeuralNetwork(history,inputs,outputs);
                if(net2==null)
                    currentNetwork=net;
            }else if(net2==null){
                System.out.println("Neural Network created in net2");
                net2=new SpeciationNeuralNetwork(history,inputs,outputs);
                if(net==null)
                    currentNetwork=net2;
            }else if(net==currentNetwork){
                System.out.println("Neural Network created in net2");
                net2=null;
                net2=new SpeciationNeuralNetwork(history,inputs,outputs);
            }else{ // net2==currentNetwork
                System.out.println("Neural Network created in net");
                net=null;
                net=new SpeciationNeuralNetwork(history,inputs,outputs);
            }
        }else{
            System.out.println("Neural Network created in the current species");
            currentSpecies.getIndividuals().add(new SpeciationNeuralNetwork(history,inputs,outputs));
        }
    }