A probability function. Very handy.

	new file:   probability.php