On the construction of accurate difference schemes for hyperbolic partial differential equations