Quantum Effects in Algorithms