finished Neuron class