Solving Heat Equation Using Fourier Transform