Nicer output, command-line options to the demo program, option to change
the parameters of the Bernoulli variables every N trials.