A Multi-scale Molecular Dynamics Algorithm and Simulations of Shock Wave Propagations