Computer simulations of atomic collisions in solids with special emphasis on sputtering