private boolean findDepthSanityCheck(){
        ArrayList<InputNeuron> inputs=findInputs();
        ArrayList<OutputNeuron> outputs=findOutputs();
        for(int i=0;i<inputs.size();i++)
            if(inputs.get(i).getDepth()!=0){
                System.out.println("Input depth not right");
                return false;
            }
        for(int i=0;i<outputs.size();i++)
            for(int f=0;f<neurons.size();f++){
                if(neurons.get(f).getDepth()>outputs.get(i).getDepth()&&!outputs.contains(neurons.get(f))){
                    System.out.println("Output Neurons are not the max");
                    return false;
                }
            }
        for(int i=0;i<neurons.size();i++)
            if(neurons.get(i).getDepth()==0&&!(neurons.get(i)instanceof InputNeuron)){
                System.out.println("A Neuron cannot have depth 0");
                return false;
            }
        return true;
    }