The discrete Green's function method for wave packet expansion via the free Schr\"odinger equation