A local interaction simulation approach to the solution of diffusion problems