prob_plot function

Constructs a graph of a probability distribution