Program to simulate a horse race gambling game