Controller for my electric shock machine