Simulation of FEM Code to obtain Heat Transfer in a Rectangular Domain