Main program for neuron recognition