Dynamics of arrays of legs powered by a discrete electrical model of nerve