Computer programs can be written to simulate just about anything. They are even better (and cheaper) than the roulette wheel built by your carpenter, as this physical version may be inclined to favor one number more than others owing to a possible slant in its build or the floor of your attic. These are called the biases.