Distributed Grover's algorithm