Comparison Principle for the Heat Equation