Finite difference methods and group analysis for a class of quasilinear-hyperbolic equations