Solving the 1D Heat Equation