A parallel algorithm for solving the linear complementarity problem