Probability algorithm ppt