Numerical Schemes for 1D wave equations