prob_remove function

probabilistic removal of elements