Quantum Algorithms for Memoryless Search and Perfect Matching