Generalized Lucas Tau Method for the Numerical Treatment of the One and Two-Dimensional Partial Differential Heat Equation