Long Distance Entanglement Between Quantum Memories