plots probability distribution of walk