Sequential and parallel methods for solving first-order hyperbolic equations