updating simple example to 1d laplace problem