A proposed numerical solution for the diffusion equation