Interaction Between Atomic Projectiles and a Crystal Surface at Grazing Incidence: Computer Simulation