A simple finite-difference scheme for handling topography with the second-order wave equation