Hydra Head Simulator

Script to approximate the probability of killing a hydra under the following conditions. When a head is cut off there are equal odds for that head to wither and die or for 3 heads to grow out of it.