generate table and plot
probability, p:
populate table