Random Algorithms