Quantum simulation with atom arrays