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