Multigrid solver for the Laplace Equation in 1D