initial stencil computation program - heat 1D