Please implement the Gauß-Seidel iteration to solve Poisson's equation on an arbitrary two-dimensional grid.