From Action Potentials to Programming Neurons: Integrate and Fire