SHOCK WAVES IN A CHAIN OF TWO-LEVEL ATOMS WITH EXCHANGE AND DIPOLE-DIPOLE INTERACTIONS