vedi se può esser utile
http://en.wikipedia.org/wiki/Probabilistic_algorithm