Distributed Coordination Based on Quantum Entanglement